#ifndef USER_H
#define USER_H

#include "qtlibs.h"
#include "entitie.h"

class User : public Entitie {
public:
    User();
    User(QString login);
    User(QString login, QString passHash);
    QString getIdentify();
    QString getLogin();
    QString getPassHash();

protected:
    void generateIdentify();

    QString login;
    QString passHash;
    QString identify;
};

#endif // USER_H
